package com.shigu.passageway.exceptions;

import com.shigu.main4.common.exceptions.Main4Exception;

public class PassagewayException extends Main4Exception {
    private String code;
    private String way;

    public PassagewayException() {
        super();
    }

    public PassagewayException(String message) {
        super(message);
    }

    public PassagewayException(String code,String message) {
        super(message);
        this.code = code;
    }

    public void throwMe() throws PassagewayException {
        throw this;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }
}
